package cn.com.wangluotongxin.merchants.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商户管理-商品管理-商品规格
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("merchants_goods_standard")
@ApiModel(value = "MerchantsGoodsStandard对象", description = "商户管理-商品管理-商品规格")
public class MerchantsGoodsStandard implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("租户ID")
    private Integer tenantId;

    @ApiModelProperty("商品ID")
    private Integer goodsId;

    @ApiModelProperty("规格名称")
    private String standardName;

    @ApiModelProperty("颜色ID")
    private Integer colorId;

    @ApiModelProperty("尺码ID")
    private Integer sizeId;

    @ApiModelProperty("单位ID")
    private Integer unitId;

    @ApiModelProperty("原价")
    private BigDecimal oriPrice;

    @ApiModelProperty("销售价")
    private BigDecimal salePrice;

    @ApiModelProperty("图片")
    private String standardImages;

    @ApiModelProperty("是否上架：0.下架 1.上架")
    private Integer isSale;

    @ApiModelProperty("上下架原因")
    private String saleReason;

    @ApiModelProperty("库存数量")
    private Double stockNumber;

    @ApiModelProperty("销售数量")
    private Double saleNumber;

    @ApiModelProperty("商品备注")
    private String remark;

    @ApiModelProperty("创建人ID")
    private Integer createUser;

    @ApiModelProperty("创建人")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改人ID")
    private Integer modifyUser;

    @ApiModelProperty("修改人")
    private String modifyName;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
